package com.xiangyouhui.base_project.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    Logger logger= LogManager.getLogger();

    @RequestMapping("/test")
    String test(){
        logger.error("fuckfuck");
        return "fuckfuck";
    }
}
